Beyond MC/DC Coverage Testing
نویسندگان
چکیده
In the last 5 years, the Back-to-Back testing approach became very popular in the automotive domain and could be applied successfully. One reason is the trend to subsume all development and test activities to a higher abstraction layer, the model level. Another reason is the introduction of the ISO 26262 standard, which recommends the back-to-back testing approach to assure equal behavior between model and code for functional safety reasons. Several coverage criteria like Decision Coverage (DC) and Modified Condition/Decision Coverage (MC/DC) are state-of-the art for back-to-back testing. But due to the fact that not all internal signals are available for comparison due to missing visibility, pure code coverage criteria are not enough to uncover all potential system errors. A vector set fulfilling even strong metrics like MC/DC may be inadequate to uncover all possible differences between model and code. One reason is that MC/DC is inadequate to complete describe the behavior of specific blocks. Another reason is the so called masking effect leading to situations, that integral errors could not be observed at the SUTs interface right in the moment of the testing time frame. In this paper, we provide a solution to address both problems by introducing model based test properties and by extending the MC/DC coverage criterion with necessary system data conditions. This will guarantee the observation of internal errors at the observable interface and thus achieves a huge quality improvement. The resulting new test case definitions could become very complicated for human beings thus it can take long time to achieve high coverage manually. To automate this task, we have extended our existing test vector generation approach targeting 100% MC/DC coverage to generate vectors covering all additional test goals. The presented approach has been introduced in an existing test and verification environment within DENSO.
منابع مشابه
MC/DC based estimation and detection of residual faults in PLC logic networks
A logic coverage measure related to MC/DC testing is used to estimate residual faults. The residual fault prediction method is evaluated on an industrial PLC logic example. A randomized form of MC/DC testing is used to maximize coverage growth and fault detection efficiency.
متن کاملAnalysis of MC/DC Coverage Percentage and Cyclometic Complexity for structured C Programs
Now a days, testing activity consumes about 60% of software development resources, so any concept aiming at reducing Software Testing costs are likely to decrease the whole development costs. Proposed by NASA in 1994, the MC/DC criteria is a testing strategy required, among other practices, by the RTCA DO-178B. MC/DC is a white box testing criteria targeting at proving evidence that all clauses...
متن کاملEffect of Testing Coverage on Software Reliability - an Experimental Investigation
Logical expressions are often used to formalize software specifications of safety-critical systems. These logical expressions can be tested using software testing methods (criteria) that include Decision Coverage (DC), Condition Coverage (CC), Decision/Condition (D/CC), and Modified Condition/Decision Coverage (MC/DC). Selection of the appropriate testing method is an important practical task. ...
متن کاملAn Empirical Evaluation of the MC/DC Coverage Criterion on the HETE-2 Satellite Software
In order to be certified by the FAA, airborne software must comply with the DO-178B standard. For the unit testing of safety-critical software, this standard requires the testing process to meet a source code coverage criterion called Modified Condition/Decision Coverage. This part of the standard is controversial in the aviation community, partially because of perceived high cost and low effec...
متن کاملReinforced Condition/Decision Coverage (RC/DC): A New Criterion for Software Testing
A new Reinforced Condition/Decision Coverage (RC/DC) criterion for software testing is proposed. This criterion provides further development of the well-known Modified Condition/Decision Coverage (MC/DC) criterion and is more suitable for testing of safety-critical software. Formal definitions in the Z notation for RC/DC, as well as MC/DC, are presented. Specific examples of using of these crit...
متن کامل